{
	"patcher" : 	{
		"fileversion" : 1,
		"rect" : [ 462.0, 100.0, 760.0, 506.0 ],
		"bglocked" : 0,
		"defrect" : [ 462.0, 100.0, 760.0, 506.0 ],
		"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
		"openinpresentation" : 0,
		"default_fontsize" : 12.0,
		"default_fontface" : 0,
		"default_fontname" : "Arial",
		"gridonopen" : 0,
		"gridsize" : [ 15.0, 15.0 ],
		"gridsnaponopen" : 0,
		"toolbarvisible" : 1,
		"boxanimatetime" : 200,
		"imprint" : 0,
		"boxes" : [ 			{
				"box" : 				{
					"maxclass" : "comment",
					"text" : "confirm that max/msp received data from flash",
					"id" : "obj-16",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 234.0, 472.0, 258.0, 20.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"text" : "print data to max window",
					"linecount" : 2,
					"id" : "obj-11",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 523.0, 412.0, 94.0, 33.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "button",
					"id" : "obj-10",
					"numinlets" : 1,
					"patching_rect" : [ 193.0, 446.0, 20.0, 20.0 ],
					"numoutlets" : 1,
					"outlettype" : [ "bang" ]
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "message",
					"text" : "/flash DataSuccessfullySend",
					"id" : "obj-6",
					"fontsize" : 12.0,
					"numinlets" : 2,
					"patching_rect" : [ 67.0, 473.0, 163.0, 18.0 ],
					"numoutlets" : 1,
					"outlettype" : [ "" ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "message",
					"text" : "/getValue",
					"id" : "obj-3",
					"fontsize" : 11.595187,
					"numinlets" : 2,
					"patching_rect" : [ 388.75, 135.0, 59.0, 18.0 ],
					"numoutlets" : 1,
					"outlettype" : [ "" ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "message",
					"text" : "port 9001",
					"id" : "obj-39",
					"fontsize" : 11.595187,
					"numinlets" : 2,
					"patching_rect" : [ 63.0, 153.0, 59.0, 18.0 ],
					"numoutlets" : 1,
					"outlettype" : [ "" ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "message",
					"text" : "/test/voice 65 100",
					"id" : "obj-38",
					"fontsize" : 12.0,
					"numinlets" : 2,
					"patching_rect" : [ 467.0, 137.0, 105.0, 18.0 ],
					"numoutlets" : 1,
					"outlettype" : [ "" ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "message",
					"text" : "port 9000",
					"id" : "obj-30",
					"fontsize" : 11.595187,
					"numinlets" : 2,
					"patching_rect" : [ 376.0, 269.0, 59.0, 18.0 ],
					"numoutlets" : 1,
					"outlettype" : [ "" ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "newobj",
					"text" : "p cnmat_compatibility",
					"id" : "obj-1",
					"fontsize" : 11.595187,
					"numinlets" : 0,
					"patching_rect" : [ 504.0, 240.0, 120.0, 20.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial",
					"patcher" : 					{
						"fileversion" : 1,
						"rect" : [ 274.0, 211.0, 385.0, 293.0 ],
						"bglocked" : 0,
						"defrect" : [ 274.0, 211.0, 385.0, 293.0 ],
						"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
						"openinpresentation" : 0,
						"default_fontsize" : 11.595187,
						"default_fontface" : 0,
						"default_fontname" : "Arial",
						"gridonopen" : 0,
						"gridsize" : [ 15.0, 15.0 ],
						"gridsnaponopen" : 0,
						"toolbarvisible" : 1,
						"boxanimatetime" : 200,
						"imprint" : 0,
						"boxes" : [ 							{
								"box" : 								{
									"maxclass" : "newobj",
									"text" : "udpreceive 7374 CNMAT",
									"id" : "obj-1",
									"fontsize" : 11.595187,
									"numinlets" : 1,
									"patching_rect" : [ 43.0, 146.0, 139.0, 20.0 ],
									"numoutlets" : 1,
									"outlettype" : [ "" ],
									"fontname" : "Arial"
								}

							}
, 							{
								"box" : 								{
									"maxclass" : "comment",
									"text" : "Both udpsend and udpreceive support the 'FullPacket' message used by the CNMAT OpenSoundControl external. This means they can be used as drop in replacements for the [otudp] object.",
									"linecount" : 3,
									"id" : "obj-2",
									"fontsize" : 11.595187,
									"numinlets" : 1,
									"patching_rect" : [ 21.0, 27.0, 339.0, 46.0 ],
									"numoutlets" : 0,
									"fontname" : "Arial"
								}

							}
, 							{
								"box" : 								{
									"maxclass" : "comment",
									"text" : "Although udpsend and udpreceive use OSC as their transport protocol, the OpenSoundControl object by CNMAT has more robust support for OpenSoundControl as a protocol including bundling of multiple OSC messages, string substitution, time stamping etc. udpsend and udpreceive support a simple subset of OSC.",
									"linecount" : 5,
									"id" : "obj-3",
									"fontsize" : 11.595187,
									"numinlets" : 1,
									"patching_rect" : [ 20.0, 173.0, 359.0, 73.0 ],
									"numoutlets" : 0,
									"fontname" : "Arial"
								}

							}
, 							{
								"box" : 								{
									"maxclass" : "comment",
									"text" : "udpsend will respond to the 'FullPacket' message as expected. However, for udpreceive to know that it should pass on udp buffers as 'FullPacket' messages instead of decoding them itself you need to instantiate it with an optional third argument.",
									"linecount" : 5,
									"id" : "obj-4",
									"fontsize" : 11.595187,
									"numinlets" : 1,
									"patching_rect" : [ 22.0, 70.0, 275.0, 73.0 ],
									"numoutlets" : 0,
									"fontname" : "Arial"
								}

							}
 ],
						"lines" : [  ]
					}
,
					"saved_object_attributes" : 					{
						"fontface" : 0,
						"default_fontface" : 0,
						"fontsize" : 11.595187,
						"globalpatchername" : "",
						"default_fontname" : "Arial",
						"default_fontsize" : 11.595187,
						"fontname" : "Arial"
					}

				}

			}
, 			{
				"box" : 				{
					"maxclass" : "message",
					"text" : "maxqueuesize 4096",
					"id" : "obj-2",
					"fontsize" : 11.595187,
					"numinlets" : 2,
					"patching_rect" : [ 427.0, 339.0, 112.0, 18.0 ],
					"numoutlets" : 1,
					"outlettype" : [ "" ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "message",
					"text" : "/giveme some please 44",
					"id" : "obj-4",
					"fontsize" : 11.595187,
					"numinlets" : 2,
					"patching_rect" : [ 581.75, 135.0, 136.0, 18.0 ],
					"numoutlets" : 1,
					"outlettype" : [ "" ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "newobj",
					"text" : "print receivedmess",
					"id" : "obj-8",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 412.0, 417.0, 108.0, 20.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"text" : "set local port to listen for messages on",
					"linecount" : 2,
					"id" : "obj-9",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 556.0, 335.0, 131.0, 33.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"text" : "This is the size in bytes of the largest udp packet you can send. If you are sending very long max messages you may need to increase this. The default is 4096. The work queue will grow as needed until this max limit is reached.",
					"linecount" : 6,
					"id" : "obj-12",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 158.0, 344.0, 208.0, 86.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "message",
					"text" : "maxpacketsize 2048",
					"id" : "obj-13",
					"fontsize" : 11.595187,
					"numinlets" : 2,
					"patching_rect" : [ 43.0, 351.0, 116.0, 18.0 ],
					"numoutlets" : 1,
					"outlettype" : [ "" ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "message",
					"text" : "maxqueuesize 1024",
					"id" : "obj-14",
					"fontsize" : 11.595187,
					"numinlets" : 2,
					"patching_rect" : [ 43.0, 269.0, 114.0, 18.0 ],
					"numoutlets" : 1,
					"outlettype" : [ "" ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"text" : "set port to send messages to at host",
					"id" : "obj-15",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 129.0, 150.0, 200.0, 20.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "message",
					"text" : "host 127.0.0.1",
					"id" : "obj-19",
					"fontsize" : 11.595187,
					"numinlets" : 2,
					"patching_rect" : [ 32.0, 129.0, 84.0, 18.0 ],
					"numoutlets" : 1,
					"outlettype" : [ "" ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "newobj",
					"text" : "udpreceive 9000",
					"id" : "obj-20",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 397.0, 368.0, 96.0, 20.0 ],
					"numoutlets" : 1,
					"outlettype" : [ "" ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "newobj",
					"text" : "udpsend 127.0.0.1 9001",
					"id" : "obj-24",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 53.0, 216.0, 136.0, 20.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"text" : "set the host by ip address or hostname",
					"id" : "obj-25",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 41.0, 105.0, 210.0, 20.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"text" : "The maxqueuesize message sets the number of messages that can be in the internal queue at any given time. The default is 512. If you are sending or receiving a lot of messages very frequently you made need to increase this to avoid dropped messages.",
					"linecount" : 7,
					"id" : "obj-26",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 159.0, 245.0, 206.0, 100.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"text" : "arguments are host and port",
					"id" : "obj-27",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 194.0, 216.0, 156.0, 20.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"text" : "Max messages are serialized and sent over the network as OSC compatible UDP packets.",
					"linecount" : 2,
					"id" : "obj-28",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 415.0, 96.0, 248.0, 33.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"text" : "argument is port",
					"id" : "obj-29",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 503.0, 376.0, 94.0, 20.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"varname" : "autohelp_top_digest",
					"text" : "Send Max messages over a network using UDP",
					"id" : "obj-31",
					"textcolor" : [ 0.93, 0.93, 0.97, 1.0 ],
					"fontsize" : 12.754705,
					"numinlets" : 1,
					"patching_rect" : [ 10.0, 36.0, 485.0, 21.0 ],
					"numoutlets" : 0,
					"frgb" : [ 0.93, 0.93, 0.97, 1.0 ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"varname" : "autohelp_top_description",
					"text" : "udpsend transmits messages over a network using the User Datagram Protocol.",
					"id" : "obj-32",
					"fontsize" : 11.595187,
					"numinlets" : 1,
					"patching_rect" : [ 10.0, 57.0, 503.0, 20.0 ],
					"numoutlets" : 0,
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "panel",
					"varname" : "autohelp_top_panel",
					"background" : 1,
					"id" : "obj-34",
					"grad1" : [ 0.27, 0.35, 0.47, 1.0 ],
					"numinlets" : 1,
					"grad2" : [ 0.85, 0.85, 0.85, 1.0 ],
					"patching_rect" : [ 5.0, 5.0, 495.0, 52.0 ],
					"numoutlets" : 0,
					"mode" : 1
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "comment",
					"varname" : "autohelp_top_title",
					"text" : "ObjectName",
					"id" : "obj-21",
					"textcolor" : [ 0.93, 0.93, 0.97, 1.0 ],
					"fontface" : 3,
					"fontsize" : 20.871338,
					"numinlets" : 1,
					"patching_rect" : [ 10.0, 8.0, 485.0, 30.0 ],
					"numoutlets" : 0,
					"frgb" : [ 0.93, 0.93, 0.97, 1.0 ],
					"fontname" : "Arial"
				}

			}
, 			{
				"box" : 				{
					"maxclass" : "textbutton",
					"varname" : "autohelp_top_ref",
					"id" : "obj-22",
					"underline" : 1,
					"textcolor" : [ 0.374, 0.47, 0.614, 1.0 ],
					"presentation_rect" : [ 0.0, 0.0, 49.079121, 14.666666 ],
					"bgovercolor" : [ 0.0, 0.0, 0.0, 0.0 ],
					"bgcolor" : [ 0.0, 0.0, 0.0, 0.0 ],
					"fontface" : 3,
					"fontsize" : 12.754705,
					"bgoveroncolor" : [ 0.0, 0.0, 0.0, 0.0 ],
					"numinlets" : 1,
					"patching_rect" : [ 450.920868, 22.0, 49.079121, 14.666666 ],
					"spacing_x" : 0.0,
					"bgoncolor" : [ 0.0, 0.0, 0.0, 0.0 ],
					"numoutlets" : 3,
					"spacing_y" : 0.0,
					"textoncolor" : [ 0.27, 0.35, 0.47, 1.0 ],
					"outlettype" : [ "", "", "int" ],
					"fontname" : "Arial",
					"bordercolor" : [ 0.0, 0.0, 0.0, 0.0 ],
					"fontlink" : 1,
					"textovercolor" : [ 0.4, 0.5, 0.65, 1.0 ]
				}

			}
 ],
		"lines" : [ 			{
				"patchline" : 				{
					"source" : [ "obj-3", 0 ],
					"destination" : [ "obj-24", 0 ],
					"hidden" : 0,
					"midpoints" : [  ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-30", 0 ],
					"destination" : [ "obj-20", 0 ],
					"hidden" : 0,
					"midpoints" : [  ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-2", 0 ],
					"destination" : [ "obj-20", 0 ],
					"hidden" : 0,
					"midpoints" : [ 436.5, 360.0, 406.5, 360.0 ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-20", 0 ],
					"destination" : [ "obj-8", 0 ],
					"hidden" : 0,
					"midpoints" : [  ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-38", 0 ],
					"destination" : [ "obj-24", 0 ],
					"hidden" : 0,
					"midpoints" : [  ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-39", 0 ],
					"destination" : [ "obj-24", 0 ],
					"hidden" : 0,
					"midpoints" : [  ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-4", 0 ],
					"destination" : [ "obj-24", 0 ],
					"hidden" : 0,
					"midpoints" : [ 591.25, 209.0, 62.5, 209.0 ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-13", 0 ],
					"destination" : [ "obj-24", 0 ],
					"hidden" : 0,
					"midpoints" : [ 52.5, 372.0, 33.0, 372.0, 33.0, 209.0, 62.5, 209.0 ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-14", 0 ],
					"destination" : [ "obj-24", 0 ],
					"hidden" : 0,
					"midpoints" : [ 52.5, 288.0, 33.0, 288.0, 33.0, 217.0, 33.0, 209.0, 62.5, 209.0 ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-19", 0 ],
					"destination" : [ "obj-24", 0 ],
					"hidden" : 0,
					"midpoints" : [  ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-6", 0 ],
					"destination" : [ "obj-24", 0 ],
					"hidden" : 0,
					"midpoints" : [  ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-20", 0 ],
					"destination" : [ "obj-10", 0 ],
					"hidden" : 0,
					"midpoints" : [  ]
				}

			}
, 			{
				"patchline" : 				{
					"source" : [ "obj-10", 0 ],
					"destination" : [ "obj-6", 0 ],
					"hidden" : 0,
					"midpoints" : [  ]
				}

			}
 ]
	}

}
